]> dgit.raspbian.org Git - gnome-shell.git/commit
appMenu: Only show Open Windows, if there are at least 2 windows
authorLeleat <atule@pm.me>
Wed, 28 Apr 2021 23:09:50 +0000 (01:09 +0200)
committerLeleat <atule@pm.me>
Thu, 29 Apr 2021 10:22:38 +0000 (12:22 +0200)
commitfd0da9606fd2481bf67cb488f86d73ab388ff947
tree3d588475463edff9e7cd903c5d0f0a7659e8dbc7
parent4bf2adb4b97d07a7d367fabd05a97e94ed8ddb67
appMenu: Only show Open Windows, if there are at least 2 windows

It doesn't make sense to show the 'Open Windows' in the app menu,
if the app only has 1 open window to switch between. Hide the
window section in that case.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4199.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1827>
js/ui/panel.js